<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
</head>
<body>
    <h3>演示参数绑定相关....</h3>
    <a href="/params/foo1.do" target="_blank">演示servlet体系的</a><br>
    <a href="/params/foo2.do" target="_blank">演示springmvc体系modelAndView</a><br>
    <a href="/params/foo3.do" target="_blank">演示springmvc体系model</a><br>

    <a href="/params/foo4.do?name=小明&age=18&yue=10000" target="_blank">演示普通类型参数绑定</a><br>
    <form action="/params/foo4.do" method="post">
        用户名:<input type="text" name="name"><br>
        年龄:<input type="text" name="age"><br>
        余额:<input type="text" name="yue"><br>
        <input type="submit" value="点我提交数据">
    </form>
    <br>
    <form action="/params/foo5.do" method="post">
        用户名:<input type="text" name="username"><br>
        密码:<input type="text" name="password"><br>
        邮箱:<input type="text" name="email"><br>
        <input type="submit" value="点我提交数据">
    </form>

    <br>

    <form action="/params/foo6.do" method="post">
        用户名:<input type="text" name="username"><br>
        爱好:
        <input type="checkbox" name="hobbies" value="smoking">抽烟
        <input type="checkbox" name="hobbies" value="drink">喝酒
        <input type="checkbox" name="hobbies" value="makehair">烫头<br>
        <input type="submit" value="点我提交数据数组">
    </form>




    <a href="/params/foo7.do" target="_blank">演示获取请求头信息</a><br>
    <a href="/params/foo8.do" target="_blank">演示获取cookie信息</a><br>

    <form action="/params/foo9.do" method="post">
        用户名:<input type="text" name="username"><br>
        密码:<input type="text" name="password"><br>
        邮箱:<input type="text" name="email"><br>
        爱好:
        <input type="checkbox" name="hobbies" value="smoking">抽烟
        <input type="checkbox" name="hobbies" value="drink">喝酒
        <input type="checkbox" name="hobbies" value="makehair">烫头<br>
        生日:<input type="date" name="birthday">
        <input type="submit" value="点我提交数据数组">
    </form>


    <hr>



    <a href="/user/login.do?username=xiaoming&password=123" target="_blank">点我登录</a>










</body>
</html>